<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>选择器</title>
 <style type="text/css">
 a.x1:hover,a.x1:active {font-size:40px; color: red;}
 a.x2:visited{font-size:40px; color: 333;}
 </style>
</head>
<body>
<a class="x1" href="/index.html">百度</a>
<a class="x2" href="http://qq.com">腾讯</a>
</body>
</html>